<?php
/**
 * @author minhhai
 * @copyright 2013
 */
?>



<textarea name="txt_get_ckeditor" id="txtfull" cols="43" rows="15"></textarea>
            <script type="text/javascript">
            if ( typeof CKEDITOR == 'undefined' )
            {
                    document.write(
                    '<strong><span style="color: #ff0000">Error</span>: CKEditor not found</strong>.' +
                    'This sample assumes that CKEditor (not included with CKFinder) is installed in' +
                    'the "/ckeditor/" path. If you have it installed in a different place, just edit' +
                    'this file, changing the wrong paths in the &lt;head&gt; (line 5) and the "BasePath"' +
                    'value (line 32).' ) ;
            }
            else
            {
                    var editor = CKEDITOR.replace( 'txtfull' );
                    editor.setData( '' );
         
                    // Just call CKFinder.SetupCKEditor and pass the CKEditor instance as the first argument.
                    // The second parameter (optional), is the path for the CKFinder installation (default = "/ckfinder/").
                    CKFinder.setupCKEditor( editor, '../ckfinder' ) ;
         
                    // It is also possible to pass an object with selected CKFinder properties as a second argument.
                    // CKFinder.SetupCKEditor( editor, { BasePath : '../../', RememberLastFolder : false } ) ;
            }
            </script>